package com.ruoyi.exam.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考生作答对象 exam_respond
 * 
 * @author ba7lgj
 * @date 2024-04-03
 */
public class ExamRespond extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 单次考试记录 */
    private Long recordId;

    /** 回答的问题的ID */
    @Excel(name = "回答的问题的ID")
    private Long questionId;

    /** 学生作答 */
    @Excel(name = "学生作答")
    private String respond;

    /** 学生作答(主观题) */
    @Excel(name = "学生作答(主观题)")
    private String respondDesc;

    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }
    public void setQuestionId(Long questionId) 
    {
        this.questionId = questionId;
    }

    public Long getQuestionId() 
    {
        return questionId;
    }
    public void setRespond(String respond) 
    {
        this.respond = respond;
    }

    public String getRespond() 
    {
        return respond;
    }
    public void setRespondDesc(String respondDesc) 
    {
        this.respondDesc = respondDesc;
    }

    public String getRespondDesc() 
    {
        return respondDesc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("questionId", getQuestionId())
            .append("respond", getRespond())
            .append("respondDesc", getRespondDesc())
            .toString();
    }
}
